//
// Created by qiangqiangj on 2019/10/12.
//

#include "url.h"
#include <string.h>

const char *url_get_filename(const struct URL *url) {
    const char *res = strrchr(url->path, '/');
    return res ? res + 1 : NULL;
}


